package com.lhys.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 资产借用表
 * </p>
 *
 * @author 小七
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AssetBorrow对象", description="资产借用表")
public class AssetBorrow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键编号")
    private Integer id;

    @ApiModelProperty(value = "资产id,关联表asset的id")
    private Integer assetId;

    @ApiModelProperty(value = "资产用户id,关联表asset_user的id")
    private Integer assetUserId;

    @ApiModelProperty(value = "借用单号")
    private String borrowNo;

    @ApiModelProperty(value = "借用日期")
    private Date borrowDate;

    @ApiModelProperty(value = "借用部门")
    private Integer borrowOrgId;

    @ApiModelProperty(value = "状态  0-编辑状态（默认） 1-完成")
    private Integer status;

    @ApiModelProperty(value = "借用原因")
    private String remark;

    @ApiModelProperty(value = "归还日期")
    private Date givebackDate;

    @ApiModelProperty(value = "归还说明")
    private String givebackRemark;


}
